package net.realsee.domain.wcs.data.bo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import net.realsee.framework.core.domain.BaseEntity;
import net.realsee.framework.core.validate.AddGroup;
import net.realsee.framework.core.validate.EditGroup;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 存储区类型业务对象 wcs_storage_type
 *
 * @author realsee
 * @date 2023-08-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class WcsStorageTypeBo extends BaseEntity {

    /**
     * ID
     */
    @NotNull(message = "ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 存储区类型
     */
    @NotBlank(message = "存储区类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String storageType;

    /**
     * 库存可移动
     */
    private Long invRemoval;

    /**
     * 库存可周转
     */
    private Long invTransfer;

    /**
     * 存储区名称
     */
    private String storageName;

    /**
     * 数据唯一ID
     */
    private String fuid;

    /**
     * 多语言文本
     */
    private Long textId;

    /**
     * 参考数据
     */
    private Long refrenceId;

    /**
     * 特性
     */
    private Long unitId;

}
